#ifndef PAGEVEHICLESIDENAVI_H
#define PAGEVEHICLESIDENAVI_H

#include <QWidget>
#include <QPushButton>
#include <QButtonGroup>
#include "global_def.h"

namespace Ui {
class PageVehicleSideNavi;
}

class PageVehicleSideNavi : public QWidget
{
    Q_OBJECT

public:
    explicit PageVehicleSideNavi(QWidget *parent = nullptr);
    ~PageVehicleSideNavi();
    void setBtnChecked(int id);
signals:
    void signal_show_vehicle_page(int index);
private:
    Ui::PageVehicleSideNavi *ui;
    QStringList m_lNaviBtnName;
    QButtonGroup m_cNaviBtnGroup;
    uint m_nStartx;
    uint m_nStarty;
    uint m_nNaviBtnLen;
    uint m_nNaviBtnHeight;
    uint m_nVSpace;
private:
    void InitBtns();
};

#endif // PAGEVEHICLESIDENAVI_H
